﻿namespace Dentiste.Domain.Providers
{
    public interface IProvider<T>
    {
        DbSetCustom<T> Select();

        T Select(string id);

        T SelectLastInserted();

        T Insert(T entity);

        bool Update(T entity);

        bool Delete(T entity);
    }
}